# coding=UTF-8
import socket

s = socket.socket()
host = socket.gethostname()
port = 8090
s.bind((host, port))
s.listen(5)
while True:
    c, addr = s.accept()
    print 'Connet addr:', addr
    c.send('welcome!')
    c.close()
